package com.zhubayi.mapper;

import com.zhubayi.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 祝八一
 */
public interface UserMapper {
    public void add(User user);
    public List<User> queryAll();
    public void update(User user);
    public User queryById(@Param("id") Integer id);
}
